﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin_panel/Admin.master" AutoEventWireup="true" CodeFile="Suabaiviet.aspx.cs" Inherits="Admin_panel_Suabaiviet" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
      <title>Sửa bài viết</title>

       <% 
           
       
           if (Request.QueryString["idbt"] != null)
           {
               Response.Write("<div class='content-box' Style='display:block'>");
           }
           else
           {
               Response.Write("<div class='content-box' Style='display:none'>");
           }
           %>
        <!-- Start Content Box -->
        <div class="content-box-header">

            <h3>
                <img src="images/icons/pencil_48.png" width="16" height="16" />Chỉnh sửa bản tin </h3>
            <div class="clear"></div>

        </div>
        <!-- End .content-box-header -->
        <div class="content-box-content">
            <!--begin #tab2_them ban tin-->
            <div class="tab-content default-tab " id="tab2">
                <fieldset>
                    <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->

                    <p>
                        <label>
                            Tiêu đề bản tin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        </label>
                        <asp:TextBox  ID="txtbantin" class="text-input medium-input" runat="server"></asp:TextBox>
                        <br />
                    </p>
                    <p>
                        <label>
                            Nội dung tóm tắt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        </label>
                        <asp:TextBox  ID="txtnoidungtomtat" class="text-input "  runat="server" 
                            Height="82px" TextMode="MultiLine" Width="944px" Font-Size="Small"></asp:TextBox>
                        <br /><small>Nhập vào nội dung tóm tắt của bản tin,giới hạn trong độ dài khoảng 200 chữ</small>
                    </p>

                    <label>Nội dung bản tin</label>


                    <fckeditorv2:fckeditor ID="FCK_bantin" runat="server"></fckeditorv2:fckeditor>


                    <p></p>
                    <p>
                        <asp:Button class="button" ID="btnDangBT" OnClick="btncapnhatBT" OnClientClick="kiemtranhaprong(this);" runat="server" Text="Cập nhật" />
                        <asp:Button class="button" ID="btnHuyBT" runat="server" Text="Hủy" />
                    </p>


                </fieldset>
                <div class="clear"></div>
                <!-- End .clear -->
            </div>
            <!-- End #tab2_them ban tin  -->

           

        </div>
        <!-- End .content-box-content -->
       </div>

       <% 
           
       
           if (Request.QueryString["idgt"] != null)
           {
               Response.Write("<div class='content-box' Style='display:block'>");
           }
           else
           {
               Response.Write("<div class='content-box' Style='display:none'>");
           }
           %>
   
        <!-- Start Content Box -->
        <div class="content-box-header">

            <h3>
                <img src="images/icons/pencil_48.png" width="16" height="16" />Chỉnh sửa bài 
                giới thiệu</h3>
            <div class="clear"></div>

        </div>
        <!-- End .content-box-header -->

        <div class="content-box-content">
           
           <!--begin #tab3_them bai viet gioi thieu-->
            <div class="tab-content default-tab " id="tab3">

                <p>
                    <label>Tiêu đề bài viết&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</label>&nbsp;<asp:TextBox  class="text-input medium-input" ID="txttieude" runat="server"></asp:TextBox>
                </p>

                <br />
                <label>Nội dung bài viết giới thiệu</label>


                <fckeditorv2:fckeditor ID="FCK_gioithieu" runat="server"></fckeditorv2:fckeditor>

                <p>
                    <asp:Button class="button" ID="btnDangGT" OnClick="btncapnhatGT" runat="server" Text="Cập nhật" OnClientClick="kiemtranhaprong(this)" />
                    <asp:Button class="button" ID="btnHuyGT" runat="server" Text="Hủy" />
                </p>



                <div class="clear"></div>
                <!-- End .clear -->


            </div>
            <!-- End #tab3_viet bai gioi thieu -->

        </div>
        <!-- End .content-box-content -->
       </div>
 <!-- End .content-box -->
</asp:Content>
 
 